
//NshDeletePerlin( noiseObject );

noiseObject = NshCreatePerlin( choose( 3,4,5,6 ), 4, 1, round( random( 32000 ) ) );

for ( i = 0; i < ds_grid_width( myGrid ); i += 1 )
{
    for ( j = 0; j < ds_grid_height( myGrid ); j += 1 )
    {
        ds_grid_set( myGrid, i,j, NshGetPerlin( noiseObject, i/ds_grid_width( myGrid ), j/ds_grid_height( myGrid )) );
    }
}
